package com.ctshk.rpc.tour.entity.es;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author lys
 */
@Data
@Accessors(chain = true)
@ApiModel(value="TripBasePrice对象", description="行程默认展示价格")
public class TripBasePrice implements Serializable {

    @ApiModelProperty(value = "渠道id")
    @Field(type = FieldType.Long)
    private Long channelId;

    @ApiModelProperty(value = "默认展示价格")
    @Field(type = FieldType.Float)
    private BigDecimal price;

}
